package com.vclee.fast.integration.power.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 系统菜单表
 */
@Data
@TableName(value = "sys_menu")
public class SysMenu {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;

    /**
     * 菜单url
     */
    @TableField(value = "url")
    private String url;

    /**
     * 备注(跳转路径)
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 父级id
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 排序字段
     */
    @TableField(value = "sort_num")
    private Integer sortNum;

    /**
     * 图标
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 请求路径 多个用逗号隔开 eg:/admin-goods/getAdminGoodsTypeList
     */
    @TableField(value = "urls")
    private String urls;

    @TableField(value = "is_show")
    private Integer isShow;
}